﻿
    using System;
    using System.IO;
namespace YoucaiReader.ImageTool
{
    public interface IImageDecoder
    {
        void Decode(Image image, Stream stream);
        bool IsSupportedFileExtension(string extension);
        bool IsSupportedFileFormat(byte[] header);

        int HeaderSize { get; }
    }
}

